class InterfaceTest {
    static public void main(String args[]) {
        InterfaceTest test = new InterfaceTest();
        test.makeFly(new Bird());
        test.makeFly(new Airplane());
    }

    public void makeFly(CanFly flyable) {
        flyable.fly();
    }
}
